import $http from '@/api/request.js'

  //获取手机短信验证码
function getdxyzm (data){
   return $http({
        url:'/sendsms',
        method:'post',
        withCredentials: true,
        data:data
      })
}
// 注册
function qrzc(data){
    return $http({
        url:'/register',
        method:'post',
        withCredentials: true,
        data:data
    })
}
export {getdxyzm,qrzc}